using UnityEngine;
using UnityEngine.UI;

public class ItemUI_存档点 : ItemUIBase<ItemUI_存档点>
{
	public Button _Btn_存档;

	public AudioClip _AudioC_上香;

	private void Start()
	{
		_Btn_存档.onClick.AddListener(F_上香);
	}

	private void Update()
	{
		if (_m可见性 && GameManager._CanPlay && Input.GetKeyDown(KeyCode.E))
		{
			F_上香();
		}
	}

	private void F_上香()
	{
		if (_m可见性 && GameManager._CanPlay)
		{
			MonoSingleton<AudioManager>.Instance.F_Play_SFX(_AudioC_上香);
			MonoSingleton<GameManager>.Instance.F_上香();
		}
	}
}
